package com.SmartLED.Common;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Frozen on 2017/1/9.
 */
public interface Error_config {

    public final static String E_1001 = "E_1001";

    public final static String E_1002 = "E_1002";

    public final static String E_1003 = "E_1003";

    public final static String E_1004 = "E_1004";

    public static Map<String, Object> errorMap = new HashMap<String, Object>(){{
        put("E_1001", "参数错误");
        put("E_1002", "数据库错误");
        put("E_1003", "文件读写错误");
        put("E_1004", "未知错误");
    }};
}
